package thesis.javaclass;

import thesis.database.Customer;
import thesis.database.Service;
import thesis.database.Taxi;

public class UseService {

	private Taxi taxi;
	private Customer customer;
	private Service service;
	private int serviceId;

	public UseService(int taxiId, int customerId, int serviceId) {
		taxi = SystemModel.getTaxi(taxiId);
		customer = SystemModel.getCustomer(customerId);
		this.serviceId = serviceId;
		service = SystemModel.getServiceById(serviceId);
	}

	public Taxi getTaxi() {
		return taxi;
	}

	public Customer getCustomer() {
		return customer;
	}

	public Service getService() {
		return SystemModel.getServiceById(serviceId);
	}

	public int getServiceId() {
		return serviceId;
	}

}
